﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Golf.WebUI.AdminShow.CommentLlist
{
    public partial class CommentDelet : Golf.WebUI.App_code.ValidateLogin
    {
        protected void Page_Load(object sender, EventArgs e)
        {


            Golf.BLL.Golf_Comment bll = new Golf.BLL.Golf_Comment();
            if (Server.UrlDecode(Request.Form["id"].ToString()) != null && Server.UrlDecode(Request.Form["id"].ToString().Trim()) != "")
            {
                int Id = Convert.ToInt32(Server.UrlDecode(Request.Form["id"].ToString()));
                bll.Delete(Id);
                Response.Write("删除成功了？！");
              
            }  Response.Redirect("CommentList.aspx");
        }
        //private void CommentDele()
        //{
        //}
    }
}